package com.jiemengshi.server.mapper;

import com.jiemengshi.server.model.DreamReply;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Repository
@Transactional
public interface DreamReplyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DreamReply record);

    int insertSelective(DreamReply record);

    DreamReply selectByPrimaryKey(Integer id);

    List<DreamReply> selectByRecordId(int dreamRecordId);
    
    int updateByPrimaryKeySelective(DreamReply record);

    int updateByPrimaryKey(DreamReply record);
}